//
//  UIView+BVideoCache.h
//  iphoneLive⁩
//
//  Created by on 2019/10/14.
//  Copyright © 2019 _ios. All rights reserved.
//


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (BVideoCache)

/// 正常截图
- (UIImage *)nomalSnapshotImage;

- (UIImage *)currentViewSnapshot;
- (UIImage *)openglSnapshotImage;
- (BOOL)isDisplayedInScreen;
- (void)borderColor:(UIColor *)borderColor borderW:(CGFloat)borderW cornerR:(CGFloat)cornerR;

- (UIImage *)screenshots;
- (UIColor*)getPixelColorAtLocation:(CGPoint)point withImage:(UIImage*)image;

@end

NS_ASSUME_NONNULL_END
